/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package frc2856.robot;

/**
 *
 * @author Dustin
 */
public class Climber {
    
    boolean extended;
    boolean compressorEnabled;
    
    public Climber(){ //Need to add pneumatics to constructor
        extended = false;
        compressorEnabled = true;
    }
    
    public void toggleCompressor(){
        setCompressor(!getCompressorState());
    }

    public void setCompressor(boolean enabled){
        compressorEnabled = enabled;
    }
    
    public boolean getCompressorState(){
        return compressorEnabled;
    }
    
    public void togglePiston(){
        setPistonState(!getPistonState());
    }
    
    public void setPistonState(boolean extend){
        extended = extend;
    }
    
    public boolean getPistonState(){
        return extended;
    }
}
